package com.itheima.Test_课上作业.修饰符.权限修饰符.test1;

public class Demo {
    public static void main(String[] args) {
        Fu fu = new Fu();
       // System.out.println(fu.name);//private: 私有权限,仅限于本类中访问.
        System.out.println(fu.age);
        System.out.println(fu.height);
        System.out.println(fu.weight);

        Zi zi = new Zi();
        System.out.println(zi.age);
        System.out.println(zi.height);
        System.out.println(zi.weight);
    }
}
